﻿<?
if($_SESSION['logged']==0){
?>
<div id="tool_login" class="commande">
	<form name="login" action="<? echo $log_action ?>" method="post"><table>
		<tr><td colspan="2"><h2>Mon Compte</h2></td></tr>
		<tr><td class="left" colspan="2">Email</td></tr>
		<tr><td class="left" colspan="2"><input type="text" name="log_email" /></td></tr>
		<tr><td class="left" colspan="2">Password</td></tr>
		<tr><td class="left" colspan="2"><input type="password" name="log_pwd" /></td></tr>
		<tr><td colspan="2" class="info left"><span><a href="/fr/info/motdepasse.php">J'ai oublié mon mot de passe</a></span></td></tr>
		<? if(isset($error_msg)){ ?>
		<tr><td colspan="2" class="alert"><? echo $error_msg ?></td></tr>
		<? } ?>
		<tr><td colspan="2" class="addcart"><a id="addcartbtn" href="#" onclick="document.login.submit();"><img src="/img/common/connexion_l.gif" alt="Ajouter au panier" /></a></td></tr>
		<tr><td colspan="2"></td></tr>
	</table><input type="hidden" name="query" value="login" /></form>
	<div class="info">
	</div>
</div>
<? } ?>